/*
 * File: uMultiWord2MultiWord.c
 *
 * Code generated for Simulink model 'TABL'.
 *
 * Model version                  : 3.213
 * Simulink Coder version         : 9.4 (R2020b) 29-Jul-2020
 * C/C++ source code generated on : Thu Apr 28 14:14:16 2022
 */

#include "rtwtypes.h"
#include "uMultiWord2MultiWord.h"

void uMultiWord2MultiWord(const uint32_T u1[], int32_T n1, uint32_T y[], int32_T
    n)
{
    int32_T i;
    int32_T nm;
    nm = n1 < n ? n1 : n;
    for (i = 0; i < nm; i++)
    {
        y[i] = u1[i];
    }

    if (n > n1)
    {
        for (i = nm; i < n; i++)
        {
            y[i] = 0U;
        }
    }
}

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
